package demo3;

public class ii {

    public static void main(String[] args) {
        c1 c1 = new c1();
        Class<?>[] interfaces = c1.getClass().getInterfaces();
        System.out.println(interfaces[0]);

    }


}

interface I {
    public void m();
}

class c1 implements I {

    @Override
    public void m() {

    }
}
